package com.lf.service.impl;

import com.lf.service.Person;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * Created by LF on 2017/5/2.
 */
@Service
@Qualifier("student1")
public class Teacher implements Person {
    @Override
    public void say() {
        System.err.println("老师===================");
    }
}
